BIN     = ../bin/libprinter_local.so
#LIBS=-L$(LIBPATH) -lglib-2.0 -lcups
LIBPATH = ../bin
LIBS=-L$(LIBPATH) -lglib-2.0 -lcups -lprinter_sys

INCLUDE =  -I../mp4_player\
  		  -I../tcp_client\
   		  -I../gtk_gui\
  		  -I../printer\
    		  -I../sys\
		  -I../bin

OBJ     = printer_local.o
SRCS     = printer_local.c


$(BIN) : $(OBJ)
		$(CC) $(CCFLAGS) -shared -o $(BIN) $(OBJ) $(LIBS) $(INCLUDE)

$(OBJ) : $(SRCS)
		$(CC) $(CCFLAGS) -c -o $@ $^ $(INCLUDE) $(LIBS)

.PHONY : clean
clean :
	-rm -f $(BIN) $(OBJ)

